<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
	<title><?php echo $title; ?></title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<meta name="robots" content="noindex, nofollow" />
	<link rel="stylesheet" type="text/css" href="<?php echo SITE_URL; ?>/css/style.css" />
	<link rel="shortcut icon" href="<?php echo SITE_URL; ?>/images/favicon.ico" />
        <link type="text/css" href="<?php echo SITE_URL; ?>/js/jquery/plugins/tipsy/stylesheets/tipsy.css" rel="stylesheet" />
	<script type="text/javascript" src="<?php echo SITE_URL; ?>/js/jquery/js/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo SITE_URL; ?>/js/jquery/js/jquery-ui.custom.min.js"></script>
	<script type="text/javascript" src="<?php echo SITE_URL; ?>/js/jquery/plugins/tipsy/javascripts/jquery.tipsy.js"></script>
	<script type="text/javascript" src="<?php echo SITE_URL; ?>/js/jquery/plugins/showMessage/js/jquery.showMessage.min.js" charset="utf-8"></script>
        <script type="text/javascript" src="<?php echo SITE_URL; ?>/js/common.js" ></script>
	
	<!--[if IE 7]>
		<link rel="stylesheet" type="text/css" href="<?php echo SITE_URL; ?>/css/fix_ie7.css" />
	<![endif]-->
	
	
</head>
<body>
	<!--[if lt IE 7]>
	  <div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>
		<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a></div>
		<div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
		  <div style='width: 75px; float: left;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/></div>
		  <div style='width: 275px; float: left; font-family: Arial, sans-serif;'>
			<div style='font-size: 14px; font-weight: bold; margin-top: 12px;'><?php echo '_LB_IE6_ALERT_1'; ?></div>
			<div style='font-size: 12px; margin-top: 6px; line-height: 12px;'><?php echo '_LB_IE6_ALERT_2'; ?></div>
		  </div>
		  <div style='width: 75px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox 3.5'/></a></div>
		  <div style='width: 75px; float: left;'><a href='http://www.browserforthebetter.com/download.html' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer 8'/></a></div>
		  <div style='width: 73px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari 4'/></a></div>
		  <div style='float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/></a></div>
		</div>
	  </div>
	  <![endif]-->
	<div id="bg" align="center">
		<div id="main_frame">
			<div id="content">
				<div align="left">
					<div id="banner">
						<div class="logo">
							<div class="vertical_line"><?php echo $title; ?></div>
						</div>
						<div class="right">
							<div class="banner_button">
                                                        <?php 
                                                        if (isset($_SESSION['userID'])) {
                                                        if($_SESSION['userID']) { ?>
                                                            <a id="auto_logout" href="<?php echo SITE_URL; ?>/?c=Login&a=logout" onmouseover="this.style.color ='#ff0000'" onmouseout="this.style.color ='#82786f'">
                                                                    <img class="small" src="<?php echo SITE_URL; ?>/images/button.png" alt="" /><?php echo _LB_DECONNECTION; ?>
                                                            </a>
							<?php }} ?>
							</div>
                                                        
						</div>
					</div>
                <?php if (isset($_SESSION['userID'])) {
                if($_SESSION['userID'] && isset($array_menus)) { ?>
                    <?php include("menu.php"); ?>
				<?php } else { ?>
					<div class="spacer"></div>
				<?php }} ?>
				<div id="cfer"><?php if( isset($cfer)) { ?><?php echo $cfer->display(); ?><?php } ?></div>
				<div>
					<noscript>
						<div class="error_div">
							<div id="error_msg" class="error_msg">
								<img src="<?php echo SITE_URL; ?>/images/<?php echo IMAGE_NAME_INFO2_SMALL; ?>" alt="" /><b><?php echo _LB_NOSCRIPT_WARNING; ?></b>
							</div>
						</div>
					</noscript>
                                    <?php if (MessageHandler::countError()) { $sysmsg = MessageHandler::getMessages();?>
					<?php if (is_array($sysmsg) && count($sysmsg) > 0) { ?>
                                            <?php foreach ($sysmsg as $msg) { ?>
                                                <?php if ($msg['type'] == MSG_ERROR) { ?>
                                                    <img src="<?php echo SITE_URL; ?>/images/<?php echo IMAGE_NAME_INFO2_SMALL; ?>" alt="" /><b><?php echo $msg['message']; ?></b><br/>
                                                <?php } ?>
                                            <?php } ?>
                                        <?php } ?>
                                                    <?php } ?>
				</div>
				<div class="main" style="margin-top:0px;">
